<?php
/**
 * 独立后台版权信息
 */
namespace Api;
use Kuyuan\WqCore\util\Util;
class Copyright
{
    public function index()
    {
        Util::appointGet();
        global $_W;
        $_result = array(
            "copyright"=>$_W["setting"]["copyright"]["footerleft"],
            "icp" => $_W['setting']['copyright']['icp'],
            "version" => IMS_VERSION
        );
        Util::returns(array(
            "code" => 0,
            "data" => $_result
        ));
    }
}